package com.cxb.view;

import android.content.Context;
import android.widget.Toast;

import com.cxb.MainActivity;

public class TTSToast {

	public static void show(Context context, String text, int duration) {
		if(text==null || context==null) return;
		Toast.makeText(context, text, duration).show();
		MainActivity.tts.speak(text);
	}
}
